package whisper.service.domain.db;

/**
 * Created by JT on 2017/11/2.
 *
 * TABLE : WM_TASK
 */
public class Task {

    private Integer taskId;
    private long sourceId;
    private long targetId;
    private String taskRegisterTime;
    private String taskStartTime;
    private String taskFinishTime;
    private Integer taskStatus;

    /* 关联查询字段 */
    private String sourcePath;
    private String targetPath;

    public Task() {}

    public Task(long sourceId, long targetId, String taskRegisterTime, Integer taskStatus) {
        this.sourceId = sourceId;
        this.targetId = targetId;
        this.taskRegisterTime = taskRegisterTime;
        this.taskStatus = taskStatus;
    }

    public String getSourcePath() {
        return sourcePath;
    }

    public void setSourcePath(String sourcePath) {
        this.sourcePath = sourcePath;
    }

    public String getTargetPath() {
        return targetPath;
    }

    public void setTargetPath(String targetPath) {
        this.targetPath = targetPath;
    }

    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    public long getSourceId() {
        return sourceId;
    }

    public void setSourceId(long sourceId) {
        this.sourceId = sourceId;
    }

    public long getTargetId() {
        return targetId;
    }

    public void setTargetId(long targetId) {
        this.targetId = targetId;
    }

    public String getTaskRegisterTime() {
        return taskRegisterTime;
    }

    public void setTaskRegisterTime(String taskRegisterTime) {
        this.taskRegisterTime = taskRegisterTime;
    }

    public String getTaskStartTime() {
        return taskStartTime;
    }

    public void setTaskStartTime(String taskStartTime) {
        this.taskStartTime = taskStartTime;
    }

    public String getTaskFinishTime() {
        return taskFinishTime;
    }

    public void setTaskFinishTime(String taskFinishTime) {
        this.taskFinishTime = taskFinishTime;
    }

    public Integer getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(Integer taskStatus) {
        this.taskStatus = taskStatus;
    }
}
